package com.ruoyi.wms.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 出库单明细对象 wms_stock_out_details
 * 
 * @author ruoyi
 * @date 2022-03-17
 */
public class WmsStockOutDetails extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private String stockOutDetailUuid;

    /** 出库单ID */
    @Excel(name = "出库单ID")
    private String fkStockOutUuid;

    /** 排序序号 */
    @Excel(name = "排序序号")
    private String orderNum;

    /** 物品表ID */
    @Excel(name = "物品表ID")
    private String fkItemUuid;

    /** 数量 */
    @Excel(name = "数量")
    private BigDecimal stockOutQty;

    /** 计量单位(字典表) */
    @Excel(name = "计量单位(字典表)")
    private String wmsDictMeasuringUnit;
    private String stockPosNameDetail;
    private String stockPosCodeDetail;
    private String stockNameDetail;
    private String stockCodeDetail;
    private String nickName;
    private String itemNameDetail;
    private String itemNumDetail;
    private String measuringUnit;
    private String fkStockPosUuid;
    private BigDecimal differentQty;
    private BigDecimal totalAmount;
    private Long userId;

    public String getFkStockPosUuid() {
        return fkStockPosUuid;
    }

    public void setFkStockPosUuid(String fkStockPosUuid) {
        this.fkStockPosUuid = fkStockPosUuid;
    }

    public BigDecimal getTotalAmount() {
        return totalAmount;
    }

    public void setTotalAmount(BigDecimal totalAmount) {
        this.totalAmount = totalAmount;
    }

    public String getMeasuringUnit() {
        return measuringUnit;
    }

    public void setMeasuringUnit(String measuringUnit) {
        this.measuringUnit = measuringUnit;
    }

    public BigDecimal getDifferentQty() {
        return differentQty;
    }

    public void setDifferentQty(BigDecimal differentQty) {
        this.differentQty = differentQty;
    }

    public String getItemNumDetail() {
        return itemNumDetail;
    }

    public void setItemNumDetail(String itemNumDetail) {
        this.itemNumDetail = itemNumDetail;
    }

    public String getItemNameDetail() {
        return itemNameDetail;
    }

    public void setItemNameDetail(String itemNameDetail) {
        this.itemNameDetail = itemNameDetail;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    /** 物料单价 */
    @Excel(name = "物料单价")
    private BigDecimal itemPrice;

    public String getStockPosNameDetail() {
        return stockPosNameDetail;
    }

    public void setStockPosNameDetail(String stockPosNameDetail) {
        this.stockPosNameDetail = stockPosNameDetail;
    }

    public String getStockPosCodeDetail() {
        return stockPosCodeDetail;
    }

    public void setStockPosCodeDetail(String stockPosCodeDetail) {
        this.stockPosCodeDetail = stockPosCodeDetail;
    }

    public String getStockNameDetail() {
        return stockNameDetail;
    }

    public void setStockNameDetail(String stockNameDetail) {
        this.stockNameDetail = stockNameDetail;
    }

    public String getStockCodeDetail() {
        return stockCodeDetail;
    }

    public void setStockCodeDetail(String stockCodeDetail) {
        this.stockCodeDetail = stockCodeDetail;
    }

    public void setStockOutDetailUuid(String stockOutDetailUuid)
    {
        this.stockOutDetailUuid = stockOutDetailUuid;
    }

    public String getStockOutDetailUuid() 
    {
        return stockOutDetailUuid;
    }
    public void setFkStockOutUuid(String fkStockOutUuid) 
    {
        this.fkStockOutUuid = fkStockOutUuid;
    }

    public String getFkStockOutUuid() 
    {
        return fkStockOutUuid;
    }
    public void setOrderNum(String orderNum) 
    {
        this.orderNum = orderNum;
    }

    public String getOrderNum() 
    {
        return orderNum;
    }
    public void setFkItemUuid(String fkItemUuid) 
    {
        this.fkItemUuid = fkItemUuid;
    }

    public String getFkItemUuid() 
    {
        return fkItemUuid;
    }
    public void setStockOutQty(BigDecimal stockOutQty) 
    {
        this.stockOutQty = stockOutQty;
    }

    public BigDecimal getStockOutQty() 
    {
        return stockOutQty;
    }
    public void setWmsDictMeasuringUnit(String wmsDictMeasuringUnit) 
    {
        this.wmsDictMeasuringUnit = wmsDictMeasuringUnit;
    }

    public String getWmsDictMeasuringUnit() 
    {
        return wmsDictMeasuringUnit;
    }
    public void setItemPrice(BigDecimal itemPrice) 
    {
        this.itemPrice = itemPrice;
    }

    public BigDecimal getItemPrice() 
    {
        return itemPrice;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("stockOutDetailUuid", getStockOutDetailUuid())
            .append("fkStockOutUuid", getFkStockOutUuid())
            .append("orderNum", getOrderNum())
            .append("fkItemUuid", getFkItemUuid())
            .append("stockOutQty", getStockOutQty())
            .append("wmsDictMeasuringUnit", getWmsDictMeasuringUnit())
            .append("itemPrice", getItemPrice())
            .toString();
    }
}
